<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-supply-inquiry" data-options="border:false;width:100%">
	
	<div class="easyui-panel list-panel" data-options="openAnimation:'slide',closeAnimation:'slide'">
	  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">
			
			<p>
				<span class="badge">提示</span>
				在此你可以对<span class="label-info"><strong>供应商诚信度质询记录</strong></span>进行查询!
			</p>
		</div>
			
	    <div class="tb-list" style="padding:2px 0">
			<table cellpadding="0" cellspacing="0"> 
				<tr>
					<td style="padding-left:2px" class="list-btn">
				
					</td>
				</tr>
			</table>
		</div>
		<table class="easyui-datagrid dg-list" 
			data-options="rownumbers:true,
			animate: true,						
			striped:true,
			border:true,
			//singleSelect:false,
			idField: 'id',						
			fitColumns: true,
			checkOnSelect:true,
			selectOnCheck:true">
			
			<thead>						
				<tr>
					<th field="ck" checkbox="true" ></th>
					<th field="bizno" width="60" align="center">质询编号</th>
					<th field="inquiry_date" width="60" align="center">质询日期</th>			
					<th field="supply_name" width="100" align="center">供应商</th>				
					
					<th field="inquiry_item" width="60" align="center">事项类别</th>				
					<th field="inquiry_reason" width="100" align="center">质询原因</th>
					
					<th field="litigant_content" width="60" align="center">答复意见</th>								
					
					<th field="decide_result" width="60" align="center">裁决意见</th>
					<th field="affirm_result" width="60" align="center">认定意见</th>														
										
				</tr>
			</thead>
			
		</table>	
	</div>
	<div class="easyui-panel form-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<div>						
			<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-undo" plain="true">返回</a>			
		</div>
		<form method="post">	
			 	 	
		    <fieldset>		
			 <table>
			 		 	
				 <tr>
				    <th>质询编号</th>
					<td><input name="bizno" id="bizno" placeholder="请输入编号" class="easyui-textbox easyui-validatebox" style="width:300px" type="text" data-options="required:true"/></td>
					<th>质询时间</th>
					<td><input name="inquiry_date" id="inquiry_date" placeholder="请输入编号" type="text" class="easyui-datebox easyui-validatebox"  style="width:300px" data-options="required:true"/></td>
				</tr>
				
				<tr>
				    <th>事项类别</th>
					<td><input name="inquiry_item_code" id="inquiry_item_code" placeholder="请选择类别" class="easyui-textbox easyui-validatebox" style="width:300px" type="text" data-options="required:true"/></td>
					
					<th>供应商</th>
					<td><input name="supply_name" id="supply_name" placeholder="请选择供应商" type="text" buttonText="选择" class="easyui-textbox easyui-validatebox" style="width:300px" data-options="required:true"/></td>
				</tr>
				
				 
				 <tr>
				    <th>质询原因</th>
					<td colspan="3"><input class="easyui-textbox" name="inquiry_reason" data-options="multiline:true" style="width:674px;height: 50px;" data-options="required:true"></input></td>
				 </tr>
				 <tr>
				    <th>答复部门</th>
					<td><input name="litgent_deptname" id="litgent_deptname" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
					<th>答复人员</th>
					<td><input id="litgent_name" name="litgent_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
				 </tr>				
			
				 <tr>
				    <th>答复意见</th>
					<td colspan="3"><input class="easyui-textbox" name="litigant_content" data-options="multiline:true" style="width:674px;height: 50px;" ></input></td>
				 </tr>
			
				  <tr>
				    <th>裁决人员</th>
					<td><input id="decide_name" name="decide_name" type="text" class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
					<th>裁决结果</th>
					<td>
						<select id="decide_result_code" class="easyui-combobox" name="decide_result" style="width:300px;" >
							<option value="">请选择...</option>
							<option value="1">处置合理</option>
							<option value="0">处置不合理</option>														
						</select>
					</td>					
				 </tr>
			
				 <tr>
				    <th>裁决意见</th>
					<td colspan="3"><input class="easyui-textbox" name="decide_content" data-options="multiline:true" style="width: 674px;height:50px"></input></td>
				 </tr>
			
				 <tr>
				    <th>认定人员</th>
					<td><input id="affirm_name" name="affirm_name" type="text" class="easyui-textbox easyui-validatebox" style="width:300px" /></td>
					<th>认定结果</th>
					<td>
						<select id="affirm_result_code" class="easyui-combobox" name="affirm_result" style="width:300px;">
							<option value="">请选择...</option>
							<option value="1">认定合理</option>
							<option value="0">认定不合理</option>
						</select>
					</td>					
				 </tr>
			
			
				 <tr>
					<th>认定意见</th>
					<td colspan="3"><input class="easyui-textbox" name="affirm_content" data-options="multiline:true" style="width: 674px;height: 50px;"></input></td>
				</tr>
				</table>
				<input name="id" id="id"  type="hidden"/>
				<input name="bizid" id="bizid"  type="hidden"/>
				<input name="flowInstId" id="flowInstId"  type="hidden"/>
				<input name="flowTaskId" id="flowTaskId"  type="hidden"/>				
				<input name="created" id="created"  type="hidden"/>
				<input name="creater" id="creater"  type="hidden"/>
				
				<input name="supply_id" id="supply_id"  type="hidden"/>
				<input name="inquiry_item" id="inquiry_item"  type="hidden"/>
				
				
				
				<input name="decide_id" id="decide_id"  type="hidden"/>						
				<input name="affirm_id" id="affirm_id"  type="hidden"/>	
				
				
				<input name="decide_result" id="decide_result"  type="hidden"/>	
				<input name="affirm_result" id="affirm_result"  type="hidden"/>		
			</fieldset>
		</form>
		<table  style="margin:2 auto" class="easyui-datagrid historics"					
			data-options="rownumbers:true,
			animate: true,
			collapsible: true,					
			striped:true,
			width : 'auto',
			border:true,
			//singleSelect:false,
			idField: 'id',								
			fitColumns: true">		
					
			<thead>						
				<tr>												
					<th field="name" width="60" align="center">节点名称</td>
					<th field="assignee" width="60" align="center">处理人员</td>				
					<th field="startTime" width="60" align="center">到达时间</td>
					<th field="endTime" width="60" align="center">完成时间</td>
					<th field="description" width="100" align="center">签收信息</td>					
				</tr>
			</thead>
			
		</table>
	</div>
</div> 

 
<script>
requirejs(['popListPage','supplyInquirySelect','domReady!'],function(listPage,supplyInquirySelect,doc){
	listPage.init({doc:doc,
		rootId:'panel-supply-inquiry',
		subSystemCode:'supply',
		moduleCode:'supplyInquirySelect',
		queryModule:'supplyInquiry',
		listToolBar:'div.tb-list',
		rowClick:supplyInquirySelect.clickRow,
		edit_window_height:500
	});
});	
</script>

